
class WeChatConfig(object):
    Token = '893db2a8349213257fa560e4096c7201'
    # AppId = 'wxe9fc89d710c5d6f6'
    # AppSecret = '6cf7f84fea814d3b9bd6f0dfecf59ef2'
    AppId = 'wx3c4508199a96733a'
    AppSecret = '27cf91a135a12b1a781f95824ace7c8d'
    EncodingAESKey = 'V1i5hfxCIPZYeXtLjhRtytMRwZc0gClkRL17Rkvbwh2'


def get_access_token_url():
    url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={AppId}&secret={AppSecret}'
    url_dict = dict()
    url_dict['AppId'] = WeChatConfig.AppId
    url_dict['AppSecret'] = WeChatConfig.AppSecret
    return url.format(**url_dict)

